<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Manager</title>
</head>

<body>
	<table border="1">
		<tr>
			<td>AccountId</td>
			<td>UserName</td>
			<td>Password</td>
			<td>FullName</td>
			<td>DateOfBirth</td>
			<td>Sex</td>
			<td>Email</td>
			<td>IsAdmin</td>
			<td>Status</td>
			<td>CreatedDate</td>
			<td>CreatedBy</td>
			<td>IsLogin</td>
			<td>LastAccess</td>
			<td>LoginFalse</td>
			<td>Update</td>
			<td>Delete</td>
		</tr>
		<?php
		foreach($data as $row)
		{
			echo form_open("login");
			?>
			<tr>
				<td><?php echo $row->AcccountId;?></td>
				<td><?php echo $row->UserName;?></td>
				<td><?php echo $row->Password;?></td>
				<td><?php echo $row->FullName;?></td>
				<td><?php echo $row->DateOfBirth;?></td>
				<td><?php echo $row->Sex;?></td>
				<td><?php echo $row->Email;?></td>
				<td><?php echo $row->IsAdmin;?></td>
				<td><?php echo $row->Status;?></td>
				<td><?php echo $row->CreatedDate;?></td>
				<td><?php echo $row->CreatedBy;?></td>
				<td><?php echo $row->IsLogin;?></td>
				<td><?php echo $row->LastAccess;?></td>
				<td><?php echo $row->LoginFalse;?></td>
				<td>
				<?php foreach($data as $r);?>
				<?php echo anchor("status/delete/$r->AcccountId","Delete");?>
				
				</td>
				
				<td>
				<?php foreach($data as $r1);?>
				<?php echo anchor("status/update/$r1->AcccountId","Update");?>
				</td>
			</tr>
			<?php
			echo form_close();
		}
		?>
	</table>
</body>
</html>
